package com.ruoyi.game.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏用户对象 game_user
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class GameUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 微信ID */
    @Excel(name = "微信ID")
    private String userWxId;

    /** 支付宝账号 */
    @Excel(name = "支付宝账号")
    private String userZfb;

    /** 用户IP地址 */
    @Excel(name = "用户IP地址")
    private String userIp;

    /** 设备号 */
    @Excel(name = "设备号")
    private String userDeviceId;

    /** 设备手机 */
    @Excel(name = "设备手机")
    private String userDeviceInfo;

    /** 用户余额 */
    @Excel(name = "用户余额")
    private BigDecimal userMoney;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private Long userType;

    /** 抽成比例 */
    @Excel(name = "抽成比例")
    private BigDecimal userProportion;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date userCreationTime;

    /** 登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date userUpdateTime;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserWxId(String userWxId) 
    {
        this.userWxId = userWxId;
    }

    public String getUserWxId() 
    {
        return userWxId;
    }
    public void setUserZfb(String userZfb) 
    {
        this.userZfb = userZfb;
    }

    public String getUserZfb() 
    {
        return userZfb;
    }
    public void setUserIp(String userIp) 
    {
        this.userIp = userIp;
    }

    public String getUserIp() 
    {
        return userIp;
    }
    public void setUserDeviceId(String userDeviceId) 
    {
        this.userDeviceId = userDeviceId;
    }

    public String getUserDeviceId() 
    {
        return userDeviceId;
    }
    public void setUserDeviceInfo(String userDeviceInfo) 
    {
        this.userDeviceInfo = userDeviceInfo;
    }

    public String getUserDeviceInfo() 
    {
        return userDeviceInfo;
    }
    public void setUserMoney(BigDecimal userMoney) 
    {
        this.userMoney = userMoney;
    }

    public BigDecimal getUserMoney() 
    {
        return userMoney;
    }
    public void setUserType(Long userType) 
    {
        this.userType = userType;
    }

    public Long getUserType() 
    {
        return userType;
    }
    public void setUserProportion(BigDecimal userProportion) 
    {
        this.userProportion = userProportion;
    }

    public BigDecimal getUserProportion() 
    {
        return userProportion;
    }
    public void setUserCreationTime(Date userCreationTime) 
    {
        this.userCreationTime = userCreationTime;
    }

    public Date getUserCreationTime() 
    {
        return userCreationTime;
    }
    public void setUserUpdateTime(Date userUpdateTime) 
    {
        this.userUpdateTime = userUpdateTime;
    }

    public Date getUserUpdateTime() 
    {
        return userUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userWxId", getUserWxId())
            .append("userZfb", getUserZfb())
            .append("userIp", getUserIp())
            .append("userDeviceId", getUserDeviceId())
            .append("userDeviceInfo", getUserDeviceInfo())
            .append("userMoney", getUserMoney())
            .append("userType", getUserType())
            .append("userProportion", getUserProportion())
            .append("userCreationTime", getUserCreationTime())
            .append("userUpdateTime", getUserUpdateTime())
            .toString();
    }
}
